import Vue from "vue";
import VueRouter from "vue-router";
import editField from "@/components/editField";
import HelloWorld from "@/view/HelloWorld";
Vue.use(VueRouter)


export default new VueRouter({
    routes: [
        {
            path: '/editField/:type',
            name: 'editField',
            component: editField
        },
        {
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld
        }
    ]
})
